package models

// WzjCustomerEvent 合同事件信息表
type WzjCustomerEvent struct {
	EventId      int64  `gorm:"column:event_id;type:bigint(20);primary_key;AUTO_INCREMENT;comment:主键自增" json:"event_id"`
	CustomerId   int64  `gorm:"column:customer_id;type:bigint(20);comment:合同id;NOT NULL" json:"customer_id"`
	EventContent string `gorm:"column:event_content;type:text;comment:事项内容;NOT NULL" json:"event_content"`
	CreateUserId int64  `gorm:"column:create_user_id;type:bigint(20);comment:创建人;NOT NULL" json:"create_user_id"`
	CreateDate   int64  `gorm:"column:create_date;type:bigint(20);comment:创建时间;NOT NULL" json:"create_date"`
}

func (m *WzjCustomerEvent) TableName() string {
	return "wzj_customer_event"
}
